FROM golang:1.17.5
ENV GO111MODULE on
ENV CGO_ENABLED 0
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
ENV TZ=Asia/Shanghai
WORKDIR /app
ADD . /app
RUN chmod +x main
EXPOSE 8080
CMD "./main"

